
package inf3791.calendarsystem.shared;

import eu.mpower.framework.security.types.soap.SecurityToken;

/**
 *
 * @author Jonas Weber
 */
public interface AuthenticationChangedListener {

    /**
     * Invoked when a new security token should be used.
     * @param newToken The new token.
     */
    void securityTokenChanged(SecurityToken newToken);
    
    /**
     * Invoked when the previous security token is not to be used anymore.
     * No new token is given at this time.
     */
    void securityTokenVoided();
}
